<div class="shows view">
    <h2><?php __('Show'); ?></h2>
    <dl>
        <?php $i = 0;
        $class = ' class="altrow"';
        ?>
        <dt<?php if ($i % 2 == 0) echo $class; ?>><?php __('Nombre'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class; ?>>
<?php echo $show['Show']['name']; ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class; ?>><?php __('Descripción'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class; ?>>
<?php echo $show['Show']['description']; ?>
            &nbsp;
        </dd>
    </dl>
    <?php
    if (!empty($show['Costume'])) {
        ?> 
        <table cellpadding="0" cellspacing="0">
            <tr>
                <th></th>
                <th>Traje</th>
                <th>Elegido</th>
            </tr>
            <?php
            $i = 0;
            foreach ($show['Costume'] as $costume) {
                $class = null;
                if ($i++ % 2 == 0) {
                    $class = 'altrow';
                }
                ?>
                <tr class="<?php echo $class; ?>">
                    <td><?php echo $i; ?>&nbsp;</td>
                    <td><?php echo $costume['name']; ?></td>
                    <td><?php echo $costume['CostumesShow']['default'] == 1 ? 'Si' : 'No'; ?></td>
                </tr>
                <?php
            }
            ?>
        </table>
        <?php
    }
    ?>
</div>
<div class="actions specific">
    <h3><?php __('Acciones'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('Editar Show', true), array('action' => 'edit', $show['Show']['id'])); ?> </li>
        <li><?php echo $this->Html->link(__('Eliminar Show', true), array('action' => 'delete', $show['Show']['id']), null, sprintf(__('Seguro que desea eliminar este Show?', true), $show['Show']['id'])); ?> </li>
    </ul>
</div>
